|
![](/i/fill.gif) |
ahmet oktar wrote:
>
> hi dear Povers!!
> i want to make a slop function but always return zero. is it possible?
> #declare ff = function { pigment {slope {<0,0,1> ,0,1} }}
No, it is not, the slope pattern requires the normal vector from the
intersection test which is not available in fucnctions.
There is no method in Povray 3.5 to do this for arbitrary shapes but you
can use the object_slope pattern from megapov MCP that was made exactly
for this purpose:
http://www.tu-bs.de/~y0013390/povcyg/docu/docu_pattern01.html#OBJSLOPE
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 20 Apr. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
![](/i/fill.gif) |